package com.ys.util.alb;

import com.alibaba.fastjson.JSON;

import java.util.HashMap;
import java.util.Map;

public class SendSms {

    CommonSms commonSms = new CommonSms();



    public void send(Map<String,String> map){
        System.out.println(map.get("mobile"));
        System.out.println(map.get("code"));
        Map<String ,String> code = new HashMap<>();
        code.put("code",map.get("code"));
//        "翱翔医药系统"
        System.out.println(map.get("yx"));
        commonSms.sendSms(map.get("mobile"),map.get("yx"),"SMS_168587607", JSON.toJSONString(code));
    }

}
